On Complete Functional Synthesis

نویسندگان

  • Philippe Suter
  • Ruzica Piskac
  • Mikaël Mayer
  • Viktor Kuncak
چکیده

Synthesis of program fragments from specifications can make programs easier to write and easier to reason about. To integrate synthesis into programming languages, synthesis algorithms should behave in a predictable way—they should succeed for a well-defined class of specifications. They should also support unbounded data types such as numbers and data structures. We propose to generalize decision procedures into predictable and complete synthesis procedures. Such procedures are guaranteed to find code that satisfies the specification if such code exists. Moreover, we identify conditions under which synthesis will statically decide whether the solution is guaranteed to exist, and whether it is unique. We demonstrate our approach by extending decision procedures for integer linear arithmetic and data structures into synthesis procedures, and establishing results on the size and the efficiency of the synthesized code. We show that such procedures are useful as a language extension with implicit value definitions, and we show how to extend a compiler to support such definitions. Our constructs provide the benefits of synthesis to programmers, without requiring them to learn new concepts or give up a deterministic execution model.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Superstability of $m$-additive maps on complete non--Archimedean spaces

The stability problem of the functional equation was conjectured by Ulam and was solved by Hyers in the case of additive mapping. Baker et al. investigated the superstability of the functional equation from a vector space to real numbers. In this paper, we exhibit the superstability of $m$-additive maps on complete non--Archimedean spaces via a fixed point method raised by Diaz and Margolis.

متن کامل

Functional polyester fabric through simultaneous aminolysis and nano ZnO synthesis

Here, in situ synthesis of nano zinc oxide, along with aminolysis of polyester fabric, has simultaneously been carried out by using triethanol amine (TEA) and zinc acetate. The ZnO nano particles (NPs) were formed and stabilized on the fabric surface by amine compound at 130 °C for 1 h. The synthesis of nano ZnO particles on the polyester fabric were confirmed by X-ray diffraction (XRD) pattern...

متن کامل

Generalized multivalued $F$-contractions on non-complete metric spaces

In this paper, we explain a new generalized contractive condition for multivalued mappings and prove a fixed point theorem in metric spaces (not necessary complete) which extends some well-known results in the literature. Finally, as an application, we prove that a multivalued function satisfying a general linear functional inclusion admits a unique selection fulfilling the corresp...

متن کامل

Absorption of DCM Dye in Ethanol: Experimental and Time Dependent Density Functional Study

Experimental and theoretical absorption spectra of [2-[2-[4-(dimethylamino) phenyl]ethenyl]-6-methyl-4H- pyran-4-ylidene]-propanedinitrile (DCM) have been studied. UV-Visible (UV-Vis.) absorption spectrum of DCM has been reported after its synthesis. Two relatively intense peaks appeared at 473 and 362 nm respectively. A theoretical investigation on the electronic structure of DCM is presented ...

متن کامل

The Synthesis of 2, 6 diamino- 3, 5-dinitropyridine from Direct Nitration Reaction of 2, 6 diamino pyridine in Different Temperature Conditions by Density Functional Theory

 In this article, synthesis of the explosive 2, 6 (diamino) 3, 5 dinitro pyridine (ANPY) of the direct nitration reaction of 2, 6 diamino pyridine in different conditions of temperature, with density functional theory method were studied. For this purpose, at first the material contained in the both sides of reaction were geometrically optimized, then the calculation of the the...

متن کامل

Green Synthesis of Silver Nanoparticles and Its Effect on Total Proteins in Melia Azedarach Plant

Silver nano-particles have different biological applications due to their compatibility. Chemical methods usually result in remaining some amounts of toxic reactions on the nano-particles. For this reason, the use of plants as sustainable and accessible resources in preparation of compatible nano-particles has attracted a lot of attention in the recent years. This research investigated the gree...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009